import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.BitSet;

/**
 * @Author: zhanganhua
 * @Date: 2024/1/23 15:55
 * @Description:
 */
public class TestAll {
    public static void main(String[] args) throws IOException {
        int result=0;
        int tmp1=109;
        int tmp2=234;
        int xorValue=tmp1^tmp2;
        int andValue=(tmp1&tmp2)<<1;
        while(true){
            if(andValue>0){
                tmp1=xorValue;
                tmp2=andValue;
                xorValue=tmp1^tmp2;
                andValue=(tmp1&tmp2)<<1;
            }else{
                result=xorValue;
                break;
            }
        }
        System.out.println(result);
        boolean[] arr=new boolean[3];

    }
}
